﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Domain.HynnStateUpDomain;

namespace Zocono.WCS.Application.AppHynnStateUp
{
    public class HynnStateUpApp
    {
        private readonly IHynnStateUpService _HynnStateUpService;

        public HynnStateUpApp(IHynnStateUpService hynnStateUpService)
        {
            _HynnStateUpService = hynnStateUpService;
        }


        public List<HynReturnState> GetAllHynnStateInfoAsync()
        {
            return _HynnStateUpService.GetAllHynnStateInfoAsync();
        }

        public bool InsertHynnStateInfoAsync(List<HynReturnState> hynReturnStates)
        {
            return _HynnStateUpService.InsertHynnStateInfoAsync(hynReturnStates);
        }
    }
}
